package entity;

import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
@Entity
@DiscriminatorValue(value="c")
public class CekovnoPlacanje extends NacinPlacanja{
	
	private String ime,bankinId;

	public CekovnoPlacanje() {
	}
	
	public CekovnoPlacanje(String ime, String bankinId) {
		this.ime = ime;
		this.bankinId = bankinId;
	}

	public String getIme() {
		return ime;
	}

	public void setIme(String ime) {
		this.ime = ime;
	}

	public String getBankinId() {
		return bankinId;
	}

	public void setBankinId(String bankinId) {
		this.bankinId = bankinId;
	}
	
	
}
